package com.zyd.shiro.business.service;

import com.github.pagehelper.PageInfo;
import com.zyd.shiro.business.vo.MajorConditionVO;
import com.zyd.shiro.business.vo.SchoolConditionVO;
import com.zyd.shiro.framework.object.AbstractService;
import com.zyd.shiro.persistence.beans.Major;
import com.zyd.shiro.persistence.beans.School;

public interface MajorService extends AbstractService<Major, Long> {

    PageInfo<Major> findPageBreakByCondition(MajorConditionVO vo);

    int insertMajor(Major major) throws Exception;

    boolean updateMajorSelective(Major entity) throws Exception;
}
